/* 设置版心 */
.wrapper {
  margin: 0 auto;
  width: 1200px;
}

body {
  background-color: #f3f5f7;
}

/* 头部 */
.header {
  height: 100px;
  background-color: #fff;
}

.header .wrapper {
  padding-top: 29px;
  display: flex;
}

.logo a {
  display: block;
  width: 195px;
  height: 41px;
  background-image: url(../images/logo.png);
  font-size: 0;
}

.nav ul {
  display: flex;
  margin-left: 65px;
}

.nav ul li {
  margin-right: 26px;
}

.nav ul li a {
  line-height: 20px;
  display: block;
  padding: 10px 8px;
  font-size: 18px;
}

.nav li .active,
.nav li a:hover {
  border-bottom: 3px solid #00a4ff;
}

.search {
  display: flex;
  padding-left: 19px;
  padding-right: 12px;
  margin-left: 64px;
  width: 412px;
  height: 40px;
  background-color: #f3f5f7;
  border-radius: 20px;
}

.search input {
  flex: 1;
  border: 0;
  outline: none;
  background-color: transparent;
}

.search ::placeholder {
  font-size: 14px;
  color: #999;
}

.search a {
  align-self: center;
  width: 16px;
  height: 16px;
  background-image: url(../images/search.png);
}

/* user */
.user {
  margin-left: 47px;
  margin-top: 4px;
}

.user img {
  margin-right: 7px;
  vertical-align: middle;
}

.user span {
  font-size: 16px;
  color: #666;
}

/* banner */
.banner {
  height: 420px;
  background-color: #0092cb;
}

.banner .wrapper {
  background-image: url(../uploads/banner.png);
  display: flex;
  justify-content: space-between;
  height: 420px;
}

.banner .wrapper .left {
  width: 192px;
  background-color: rgba(0, 0, 0, .42);
}

.banner .left ul {
  margin: 3px 20px 3px 20px;
}

.banner .left ul li a {
  display: block;
  height: 46px;
  line-height: 46px;
  background: url(../images/right.png) no-repeat right center;
  font-size: 16px;
  color: #fff;
}

.banner .left ul li a:hover {
  background: url(../images/right-hover.png) no-repeat right center;
  color: #0092cb;
}

.banner .right {
  margin-top: 50px;
  width: 218px;
  height: 305px;
  background-color: #209dd5;
  border-radius: 10px;
}

.banner .right h3 {
  padding-left: 14px;
  height: 48px;
  line-height: 48px;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

.banner .course {
  height: 257px;
  padding: 14px;
  background-color: #fff;
  border-radius: 10px;
}

.banner .course dl {
  margin-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.banner .course dt {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.banner .course dd {
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 8px;
}

.banner .course dd span {
  color: #00a4ff;
}

.banner .course dd strong {
  color: #7d7d7d;
  font-weight: 400;
}

.banner .course a {
  display: block;
  /* width: 190px; */
  height: 32px;
  line-height: 32px;
  text-align: center;
  background-color: #209dd5;
  border-radius: 15px;
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
}

/* recommoend */
.recommend {
  display: flex;
  padding: 0 20px;
  margin-top: 10px;
  background-color: #fff;
  height: 60px;
  line-height: 60px;
  box-shadow: 0px 1px 2px 0px rgb(211 211 211 / 50%)
}

.recommend h3 {
  font-size: 18px;
  color: #00a4ff;
  font-weight: 400;
}

.recommend ul {
  display: flex;
  flex: 1;

}

.recommend li a {
  padding: 0 25px;
  border-right: 1px solid #bfbfbf;
  font-size: 18px;
}

.recommend ul li:last-child a {
  border-right: 0;
}

.recommend .modify {
  font-size: 16px;
  color: #00a4ff;
}

/* 精品课程 */
.course {
  margin-top: 15px;
}

/* 公共类 */
.hd {
  display: flex;
  justify-content: space-between;
  height: 60px;
  line-height: 60px;
}

.hd h3 {
  font-size: 21px;
  font-weight: 400;
}

.hd .more {
  padding-right: 20px;
  background: url(../images/more.png) no-repeat right center;
  font-size: 14px;
  color: #999;
}

.hd ul {
  display: flex;
}

.hd ul li {
  font-size: 16px;
  margin-right: 56px;
}

.hd .active {
  color: #00a4ff;
}

/* 公共类 */
.bd ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.bd ul li {
  margin-bottom: 14px;
  width: 228px;
  height: 271px;
  background-color: #fff;
}

.bd li .pic {
  height: 156px;
  /* background: url(../uploads/course01.png) no-repeat; */
}

.bd li .text {
  height: 115px;
  padding: 20px;
}

.bd li .text h4 {
  margin-bottom: 13px;
  height: 40px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.bd li .text p {
  font-size: 14px;
  line-height: 20px;
  color: #999;
}

.bd li .text p span {
  color: #fa6400;
}

.bd li .text p i {
  font-style: normal;
}

.bd {
  display: flex;
  justify-content: space-between;
}

.bd .left {
  width: 228px;
  /* background-color: pink; */
  /* height: 386px; */
}

.bd .right {
  width: 957px;
  /* background-color: pink; */
}

.bd .right .top {
  margin-bottom: 10px;
}

.footer {
  padding-top: 60px;
  margin-top: 60px;
  height: 273px;
  background-color: #fff;
}

.footer .wrapper {
  display: flex;
  justify-content: space-between;

}

.footer .left {
  width: 440px;
  /* background-color: pink; */

}

.footer .pic {
  display: inline-block;
  padding-bottom: 24px;
}

.footer p {
  font-size: 12px;
  color: #666;
  line-height: 17px;
  padding-bottom: 14px;
}

.footer .ios {
  display: inline-block;
  width: 120px;
  height: 36px;
  border: 1px solid #00a4ff;
  color: #00a4ff;
  font-size: 16px;
  line-height: 34px;
  text-align: center;
}

.footer .right {
  display: flex;
  /* width: 466px; */
  /* background-color: pink; */
}

.footer .right dl {
  margin-left: 130px;
}

.footer .right dt {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 23px;
}

.footer .right a {
  font-size: 14px;
  color: #666;
  line-height: 24px;
}